package cn.com.lms.business.livecourse.persistence.entity.vod;

import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.Setter;

/**
 * VodStreamInfo
 *
 * @author barry
 * @date 2020/3/19
 **/
@Getter
@Setter
public class VodStreamInfo {

    @SerializedName("Status")
    private String status;

    @SerializedName("Bitrate")
    private Float bitrate;

    @SerializedName("Definition")
    private String definition;

    @SerializedName("Duration")
    private Float duration;

    @SerializedName("Encrypt")
    private Boolean encrypt;

    @SerializedName("ErrorCode")
    private String errorCode;

    @SerializedName("ErrorMessage")
    private String errorMessage;

    @SerializedName("FileUrl")
    private String fileUrl;

    @SerializedName("Format")
    private String format;

    @SerializedName("Fps")
    private Float fps;

    @SerializedName("Height")
    private Long height;

    @SerializedName("Size")
    private Long size;

    @SerializedName("Width")
    private Long width;

    @SerializedName("JobId")
    private String jobId;

    @Override
    public String toString() {
        return "VodStreamInfo{" +
                "status='" + status + '\'' +
                ", bitrate=" + bitrate +
                ", definition='" + definition + '\'' +
                ", encrypt=" + encrypt +
                ", errorCode='" + errorCode + '\'' +
                ", errorMessage='" + errorMessage + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", format='" + format + '\'' +
                ", fps=" + fps +
                ", height=" + height +
                ", size=" + size +
                ", Width=" + width +
                ", jobId='" + jobId + '\'' +
                '}';
    }
}
